package net.homeip.mmhg.dao;

import java.util.Collection;

import net.homeip.mmhg.domain.Event;
import net.homeip.mmhg.domain.Task;
import net.homeip.mmhg.domain.Team;

/**
 * 
 *
 * @author ilya gerasimov
 */
public interface EventDao {
	
	Collection<Event> getEvents();
	
	Collection<Event> getEvents(Team team);
	
	Collection<Event> getEvents(Team team, Task task);
	
	Event getEvent(int id);
	
	void storeEvent(Event event);
	
	void deleteEvent(Event event);
}
